# -*- coding:utf-8 -*-

import os
def getbasedir():
    return os.path.dirname(__file__)


def joinpath(*paths):
    base = getbasedir()
    return os.path.join(base, *paths)